package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
* Created by Mybatis Generator 2023/07/06
*/
@Data
@TableName(value = "recruitment_delivery")
public class RecruitmentDelivery implements Serializable {
    /**
     * id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 简历投递的id
     */
    @TableField(value = "userinfo_id")
    private Integer userinfoId;
    @TableField(value ="userinfo",exist = false )
    private Userinfo userinfo;
    /**
     * 投递给的人事
     */
    @TableField(value = "recruitment_post_id")
    private Integer recruitmentPostId;

    @TableField(value = "recruitment_post",exist = false)
    private RecruitmentPost recruitmentPost;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @TableField(value = "delivery_time")
    private Date deliveryTime;

    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_USERINFO_ID = "userinfo_id";

    public static final String COL_RECUITMENT_POST_ID = "recruitment_post_id";

    public static final String COL_DELIVERY_TIME = "delivery_time";

    public static final String COL_ENABLE = "enable";
}